#pragma once

#include <faker/basic/pch.h>

#include <imgui/imgui.h>

#define FK_EDIT_ENTITY(inst, T, editor)                 \
    if (inst.HasComponent<T>())                         \
    {                                                   \
        ImGui::PushID(&inst);                           \
        FK_FAILED(editor.Edit(inst.GetComponent<T>())); \
        ImGui::PopID();                                 \
    }\

#include <iostream>
